﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BO;
using DAO;
using System.Data;

namespace BL
{
    public class B_HomeField
    {
        D_HomeField dal = new D_HomeField();
        public static B_HomeField CreateInstance()
        {
            return new B_HomeField();
        }
        public bool CreateOneHomeField(HomeField_Info HomeField_Info)
        {

            return dal.CreateOneHomeField(HomeField_Info);
        }
        public bool EditOneHomeField(HomeField_Info HomeField_Info)
        {

            return dal.EditOneHomeField(HomeField_Info);
        }
        public bool RemoveOneHomeField(int HomeFieldID)
        {

            return dal.RemoveOneHomeField(HomeFieldID);
        }
        public DataTable GetAllHomeField()
        {
            
            return dal.GetAllHomeField();
        }
        public HomeField_Info GetOneHomeField(int HomeFieldID)
        {
            
            return dal.GetOneHomeField(HomeFieldID);
        }
    }
}
